//
//  HeroCollectionViewCell.m
//  Hero
//
//  Created by lanou3g on 16/5/5.
//  Copyright © 2016年 刘永庆. All rights reserved.
//

#import "HeroCollectionViewCell.h"
#import "HeroModel.h"
@interface HeroCollectionViewCell ()
@property (weak, nonatomic) IBOutlet UIImageView *imageView;
@property (weak, nonatomic) IBOutlet UILabel *nickLable;
@property (weak, nonatomic) IBOutlet UILabel *nameLbale;
@property (weak, nonatomic) IBOutlet UILabel *tagLable;

@end
@implementation HeroCollectionViewCell

- (void)awakeFromNib {
    // Initialization code
}
- (void)layoutSubviews
{
    self.imageView.image = [UIImage imageNamed:self.model.en_name];
    self.nickLable.text = self.model.nick;
    self.nameLbale.text = self.model.name;
    self.tagLable.text = [NSString  stringWithFormat:@"%@ %@ %@",self.model.tag1,self.model.tag2,self.model.tag3];
}
@end
